package jmine.tec.rpc.server.representation.representers.collections;

import java.util.Set;

/**
 * Bean contendo dados para representação de um conjunto.
 * 
 * @author lundberg
 */
public class SetRepresenterBean {

    private final Class<?> representationClass;

    private final Set<?> objects;

    /**
     * Constructor
     * 
     * @param representationClass representationClass
     * @param objects objects
     */
    public SetRepresenterBean(Class<?> representationClass, Set<?> objects) {
        this.representationClass = representationClass;
        this.objects = objects;
    }

    /**
     * @return the representationClass
     */
    public Class<?> getRepresentationClass() {
        return this.representationClass;
    }

    /**
     * @return the objects
     */
    public Set<?> getObjects() {
        return this.objects;
    }
}
